/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.zcm.modules.center.service;

import java.util.List;

import com.zcm.common.persistence.Page;
import com.zcm.common.service.CrudService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zcm.common.persistence.Page;
import com.zcm.common.service.CrudService;
import com.zcm.modules.center.entity.CenterUserRole;
import com.zcm.modules.center.dao.CenterUserRoleDao;

/**
 * 角色Service
 * @author www
 * @version 2018-04-20
 */
@Service
@Transactional(readOnly = true)
public class CenterUserRoleService extends CrudService<CenterUserRoleDao, CenterUserRole> {

	public CenterUserRole get(String id) {
		return super.get(id);
	}
	
	public List<CenterUserRole> findList(CenterUserRole centerUserRole) {
		return super.findList(centerUserRole);
	}
	
	public Page<CenterUserRole> findPage(Page<CenterUserRole> page, CenterUserRole centerUserRole) {
		return super.findPage(page, centerUserRole);
	}
	
	@Transactional(readOnly = false)
	public void save(CenterUserRole centerUserRole) {
		super.save(centerUserRole);
	}
	
	@Transactional(readOnly = false)
	public void delete(CenterUserRole centerUserRole) {
		super.delete(centerUserRole);
	}
	
}